package main.java.chessfootball.rules.checker;

/**
 * User: Igor
 * Date: 28.07.2011
 * Time: 8:30:47
 */
public class MoveLimitChecker extends AbstractMoveChecker
{
	@Override
	public boolean valid()
	{
		int bonus = 0;//todo bonus move
		if (game.getMatch().getTime().getMoves() >= game.getRule().getGame().getMoves() + bonus)
		{
			return false;
		}
		return true;
	}
}
